package com.yuntianshi.service;

import com.yuntianshi.common.PageResult;
import com.yuntianshi.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * 套餐接口
 */
public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);
    public List<Setmeal> findAll();
    public Setmeal findById(int id);
    public List<Map<String,Object>> findSetmealCount();

    List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    public void edit(Setmeal setmeal, Integer[] checkgroupIds);

    public void delete(Integer id);
}
